<template>
  <div class="mask" v-show="isShow">
    <img src="http://static.oschina.net/uploads/space/2015/0724/100832_XWND_2392582.gif" alt="">
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.6);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  img{
    width: 60px;
    height: 60px;
  }
}
</style>
